Example 3 takes us one step further then the previous example. Not only will we create a directory and copy files into it, we also will create a program group with items. When you have finished this script, you are ready to make an installation script yourself. As in the previous examples, it is recommended to have the printed version with you. Press 'Next' to continue.
<Set Message>
The directory below will be created. You can change it if you like. Also the following files will be copied into the directory. It again is assumed that the files named install.exe, example1.script and example2.script are in the directory from which you run HJ-Install. Press 'Next'.
<create directory>
c:\test3
<copy files>
install.exe, Install.exe
example1.script, example1.script
example1.script, example1.txt
example2.script, example2.script
example2.script, example2.txt
example2.script, example3.script
<readonly editbox>
true
<Wait Message>
The directory on your disk should now have been created, with the files Install.exe, example1.script, example1.txt, example2.script, example2.txt in it. Press 'Next'.
<set message>
To create the program group displayed below, press 'Next'. If you want, you can change the program group.
<Create Program Group>
Test Example 3 HJ-Install
<Create Program Items>
"install.exe" "example1.script", Execute example1
"example1.txt", View example1
"install.exe" "example2.script", Execute example2
"example2.txt", View example2
<hide editbox>
<hide label>
<set Title>
Example3 Finished.
<set Message>
This concludes Example3.
You can safely remove the created directory and program group after you convinced yourself that every group-item does what it is supposed to.
After studying these examples and the HJ-Install manual, you should be able to construct installation scripts yourself. Do not hesitate to mail me if you have any questions.
Henk Hagedoorn, hjh@usa.net, Amsterdam, december 1996